home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-03-16 | 16.8 KB | 482 lines | [TEXT/R*ch] |
- Gestalt Manager in Inside Macintosh IV
- ======================================
- Last modified : 15 March 1994, 22:20 CET (GMT+1)
-
- This document lists all selectors listed in the Gestalt Manager chapter
- in Inside Macintosh part IV.
- The entry format and other rules are exactly like the Supplemental
- Selector List (SGSL). Some selectors may be changed or additional information,
- which is listed in the SGSL.
-
- Gestalt Selector Codes Installed by Apple System Software
- =========================================================
- addr (System [6.0.4])
- gestaltAddressingModeAttr
- Returns information about the current addressing mode.
-
- gestaltAddressingModeAttr = 'addr';
- gestalt32BitAddressing = 0; {started up with 32-bit addressing}
- gestalt32BitSysZone = 1; {system heap has 32-bit clean block}
- {headers}
- gestalt32BitCapable = 2; {machine is 32-bit capable}
- alis (System [7.0])
- gestaltAliasMgrAttr
- Returns information about the Alias Manager.
-
- gestaltAliasMgrAttr = 'alis'; {Alias Mgr attributes}
- gestaltAliasMgrPresent = 0;
-
- NOTE: See the SGSL for additional information.
- atlk (System [6.0.4])
- gestaltAppleTalkVersion
- Returns the version of the .MPP driver as INTEGER.
-
- gestaltAppleTalkVersion = 'atlk'; {AppleTalk version}
-
- NOTE: See the SGSL for additional information.
- a/ux (System [6.0.4])
- gestaltAUXVersion
- Returns the version of A/UX if it is executing as BCD?
-
- gestaltAUXVersion = 'a/ux'; {A/UX version, if present}
- conn (System [7.0])
- gestaltConnMgrAttr
- Returns information about the Connection Manager.
-
- gestaltConnMgrAttr = 'conn'; {Conn. Mgr attributes}
- gestaltConnMgrPresent = 0; {Connection Mgr is present}
- gestaltConnMgrCMSearchFix = 1; {fix for CMAddSearch present}
-
- NOTE: See the SGSL for additional information.
- crm (System [7.0])
- (Communications Toolbox for System 6)
- gestaltCRMAttr (additions)
- Returns information about the Communications Resource Manager.
-
- gestaltCRMAttr = 'crm '; {Comm. Resource Mgr attributes}
- gestaltCRMPresent = 0; {Comm. Resource Mgr present}
-
- NOTE: See the SGSL for additional information.
- ctbv (System [7.0])
- gestaltCTBVersion
- Returns the version number of the Communications Toolbox.
-
- gestaltCTBVersion = 'ctbv'; {Comm. Toolbox version}
-
- NOTE: See the SGSL for additional information.
- dbac (System [7.0])
- gestaltDBAccessMgrAttr
- Returns information about the Data Access Manager.
-
- gestaltDBAccessMgrAttr = 'dbac'; {Data Access Mgr attributes}
- ditl (System [7.0])
- gestaltDITLExtAttr
- Returns information about the Dialog Manager.
-
- gestaltDITLExtAttr = 'ditl'; {Dialog Mgr attributes}
- easy (Easy Access cp [7.0?])
- gestaltEasyAccessAttr
-
- NOTE: Entry has been replaced, see SGSL.
- edtn (System [7.0])
- gestaltEditionMgrAttr
- Returns information about the Edition Manager.
-
- gestaltEditionMgrAttr = 'edtn'; {Edition Mgr attributes}
- gestaltEditionMgrPresent = 0;
-
- NOTE: See the SGSL for additional information.
- evnt (System [7.0])
- gestaltAppleEventsAttr
-
- gestaltAppleEventsAttr = 'evnt'; {Apple events attributes}
- gestaltAppleEventsPresent = 0; {True if Apple Events present} *25
-
- NOTE: See the SGSL for additional information.
- fold (System [7.0])
- gestaltFindFolderAttr
- Returns information about the FindFolder function.
-
- gestaltFindFolderAttr = 'fold'; {FindFolder attributes}
- gestaltFindFolderPresent = 0; {FindFolder function available}
- font (System [7.0])
- gestaltFontMgrAttr
-
- gestaltFontMgrAttr = 'font'; {Font Mgr attributes}
- gestaltOutlineFonts = 0;
-
- NOTE: See the SGSL for additional information.
- fpu (System [6.0.4])
- gestaltFPUType
- Returns a value that indicates the FPU-type, if any.
-
- gestaltFPUType = 'fpu '; {FPU Type}
- gestaltNoFPU = 0; {no FPU}
- gestalt68881 = 1; {68881 FPU}
- gestalt68882 = 2; {68882 FPU}
-
- NOTE: See the SGSL for additional information.
- fs (System [7.0])
- gestaltFSAttr
- Returns information about the file system.
-
- gestaltFSAttr = 'fs '; {file-system attributes}
- gestaltFullExtFSDispatching = 0; {routines _HFSDispatch available}
- gestaltHasFSSpecCalls = 1; {FSSpec functions available}
-
- NOTE: See the SGSL for additional information.
- fxfr (System [7.0])
- gestaltFXfrMgrAttr
- Returns information about the File Transfer Manager.
-
- gestaltFXfrMgrAttr = 'fxfr'; {File Transfer Mgr attributes}
- gestaltFXfrMgrPresent = 0; {File Transfer Mgr present}
-
- NOTE: See the SGSL for additional information.
- hdwr (System [6.0.4])
- gestaltHardwareAttr
- Returns information about the hardware configuration of the machine.
- See for more information the TN "M.OV.GestaltSysenvirons" (OV 16).
-
- gestaltHardwareAttr = 'hdwr'; {hardware attributes}
- gestaltHasVIA1 = 0; {VIA 1}
- gestaltHasVIA2 = 1; {VIA 2}
- gestaltHasASC = 3; {ASC}
- gestaltHasSCC = 4; {SCC}
- gestaltHasSCSI = 7; {SCSI}
-
- NOTE: See the SGSL for additional information.
- help (System [7.0])
- gestaltHelpMgrAttr
- Returns information about the Help Manager.
-
- gestaltHelpMgrAttr = 'help'; {Help Mgr attributes}
- gestaltHelpMgrPresent = 0; {Help Mgr present}
-
- NOTE: See the SGSL for additional information.
- kbd (System [6.0.4])
- gestaltKeyboardType
- Returns a value that indicates the type of keyboard that is
- currently attached to the system.
-
- gestaltKeyboardType = 'kbd '; {keyboard type}
- gestaltMacKbd = 1; {Macintosh Keyboard}
- gestaltMacAndPad = 2; {Macintosh Keyboard with Pad}
- gestaltMacPlusKbd = 3; {Macintosh Plus Keyboard}
- gestaltExtADBKbd = 4; {Extended ADB Keyboard}
- gestaltStdADBKbd = 5; {Standard ADB Keyboard}
- gestaltPrtblADBKbd = 6; {Portable ADB Keyboard}
- gestaltPrtblISOKbd = 7; {Portable ISO ADB Keyboard}
- gestaltStdISOADBKbd = 8; {Standard ISO ADB Keyboard}
- gestaltExtISOADBKbd = 9; {Extended ISO ADB Keyboard}
- gestaltADBKbdII = 10; {ADB Keyboard II}
- gestaltADBISOKbdII = 11; {ISO ADB Keyboard II}
-
- NOTE: See the SGSL for additional information.
- lram (System [6.0.4])
- gestaltLogicalRAMSize
- Returns the amount of logical memory available in bytes.
-
- gestaltLogicalRAMSize = 'lram'; {logical RAM size}
-
- NOTE: See the SGSL for additional information.
- lmem (System [6.0.4])
- gestaltLowMemorySize
- Returns the amount of the low-memory area in bytes.
-
- gestaltLowMemorySize = 'lmem'; {low-memory area size}
- mach (System [6.0.4]) INF
- gestaltMachineType
- Returns one of the following values, indicating the type og
- machine.
-
- gestaltMachineType = 'mach'; {machine type}
- gestaltClassic = 1; {Macintosh 128K}
- gestaltMacXL = 2; {Macintosh XL}
- gestaltMac512KE = 3; {Macintosh 512KE}
- gestaltMacPlus = 4; {Macintosh Plus}
- gestaltMacSE = 5; {Macintosh SE}
- gestaltMacII = 6; {Macintosh II}
- gestaltMacIIx = 7; {Macintosh IIx}
- gestaltMacIIcx = 8; {Macintosh IIcx}
- gestaltMacSE030 = 9; {Macintosh SE/30}
- gestaltPortable = 10; {Macintosh Portable}
- gestaltMacIIci = 11; {Macintosh IIci}
- gestaltMacIIfx = 12; {Macintosh IIfx}
- gestaltMacClassic = 13; {Macintosh Classic}
- gestaltMacIIsi = 14; {Macintosh IIsi}
- gestaltMacLC = 15; {Macintosh LC}
-
- NOTES:
- You can use the returned value as an index with GetIndString
- to get the machine's name. The STR# resource ID is:
- kMachineNameStrID = -16395;
-
- See the SGSL for additional information.
- micn (System [6.0.4]) INF
- gestaltMachineIcon
- Returns an icon family resource ID for the current type of
- Macintosh.
-
- gestaltMachineIcon = 'micn'; {machine ICON/cicn res ID}
-
- NOTE: See the SGSL for additional information.
- misc (System [6.0.5])
- gestaltMiscAttr
- Returns information about miscellaneous pieces of software or
- hardware.
-
- gestaltMiscAttr = 'misc'; {miscellaneous attributes}
- gestaltScrollingThrottle = 0;
- gestaltSquareMenuBar = 1;
-
- NOTE: See the SGSL for additional information.
- mmu (System [6.0.4])
- gestaltMMUType
- Returns a value that indicates the type of MMU currently installed,
- if any.
-
- gestaltMMUType = 'mmu '; {MMU Type}
- gestaltNoMMU = 0; {no MMU}
- gestaltAMU = 1; {AMU}
- gestalt68851 = 2; {68851 MMU}
- gestalt68030MMU = 3; {built-in 68030 MMU}
-
- NOTE: See the SGSL for additional information.
- nlup (System [7.0])
- gestaltStdNBPAttr
- Returns information about the call StandardNBP.
-
- gestaltStdNBPAttr = 'nlup'; {Standard NBP attributes}
- gestaltStdNBPPresent = 0;
- nmgr (System [6.0.5])
- gestaltNotificationMgrAttr
- Returns information about the Notification Manager.
-
- gestaltNotificationMgrAttr = 'nmgr'; {Notification Mgr attributes}
- gestaltNotificationPresent = 0;
- os (System [6.0.4, 7.0 and later])
- gestaltOSAttr
- Returns general information about the Operating System.
-
- gestaltOSAttr = 'os '; {O/S attributes}
- gestaltSysZoneGrowable = 0;
- gestaltLaunchCanReturn = 1;
- gestaltLaunchFullFileSpec = 2;
- gestaltLaunchControl = 3;
- gestaltTempMemSupport = 4;
- gestaltRealTempMemory = 5;
- gestaltTempMemTracked = 6;
- gestaltIPCSupport = 7;
- gestaltSysDebuggerSupport = 8;
-
- NOTES:
- See the Process Manager chapter in IM Processes for more information
- about the launch control features. And the Memory Manager chapter in
- IM Memory about the memory features.
-
- See the SGSL for additional information.
- ostt (System [6.0.8?])
- gestaltOSTable
- Returns the base address of the Operating System trap table.
-
- gestaltOSTable = 'ostt'; {O/S trap table base}
- pgsz (System [6.0.4])
- gestaltLogicalPageSize
- Returns the logical page size in bytes.
-
- gestaltLogicalPageSize = 'pgsz'; {logical page size}
-
- NOTE:
- The value is unknown on 68000 machines, Gestalt will return an error.
-
- NOTE: See the SGSL for additional information.
- pop! (System [7.0])
- gestaltPopupAttr
- Returns information about the pop-up control definition.
-
- gestaltPopupAttr = 'pop!'; {pop-up CDEF attributes}
- gestaltPopupPresent = 0; {pop-up CDEF available}
- powr (System [6.0.4])
- gestaltPowerMgrAttr
- Returns information about the Power Manager, if present.
-
- gestaltPowerMgrAttr = 'powr'; {Power Mgr attributes}
- gestaltPMgrExists = 0;
- gestaltPMgrCPUIdle = 1;
- gestaltPMgrSCC = 2;
- gestaltPMgrSound = 3;
- ppc (System [7.0])
- gestaltPPCToolboxAttr
-
- NOTE: Entry has been replaced, see SGSL.
- proc (System [6.0.4])
- gestaltProcessorType
- Returns a value that indicates the type of processor that is
- currently running.
-
- gestaltProcessorType = 'proc'; {processor type}
- gestalt68000 = 1; {MC68000}
- gestalt68010 = 2; {MC68010}
- gestalt68020 = 3; {MC68020}
- gestalt68030 = 4; {MC68030}
-
- NOTE: See the SGSL for additional information.
- prty (System [6.0.4])
- gestaltParityAttr
- Returns information about the parity-checking abilities of the
- machine.
-
- gestaltParityAttr = 'prty'; {parity attributes}
- gestaltHasParityCapability = 0;
- gestaltParityEnabled = 1;
- qd (System [6.0.4])
- gestaltQuickDrawVersion
- Returns the version of QuickDraw currently present as a 2-byte value.
-
- gestaltQuickDrawVersion = 'qd '; {QuickDraw version}
- gestaltOriginalQD = $000;
- gestaltOriginalQD1 = $001;
- gestalt8BitQD = $100;
- gestalt32BitQD = $200;
- gestalt32BitQD11 = $210;
- gestalt32BitQD12 = $220;
- gestalt32BitQD13 = $230;
-
- NOTE: See the SGSL for additional information.
- ram (System [6.0.4])
- gestaltPhysicalRAMSize
- Returns the number of bytes of the physical RAM currently installed.
-
- gestaltPhysicalRAMSize = 'ram '; {physical RAM}
-
- NOTE: See the SGSL for additional information.
- rom (System [6.0.4]) INF
- gestaltROMSize
- Returns the size of the installed ROM in bytes.
-
- gestaltROMSize = 'rom '; {ROM size}
- romv (System [6.0.4]) INF
- gestaltROMVersion
- Returns the version number of the installed ROM.
-
- gestaltROMVersion = romv'; {ROM version}
- rsrc (System [should work since 7.0?])
- gestaltResourceMgrAttr
- Returns information about the Resource Manager.
-
- gestaltResourceMgrAttr = 'rsrc'; {Resource Mgr attributes}
- gestaltPartialRsrcs = 0;
-
- NOTE: See the SGSL for additional information.
- scri (System [6.0.4])
- gestaltScriptMgrVersion
- Returns the version number of the Script Manager as BCD.
-
- gestaltScriptMgrVersion = 'scri'; {Script Mgr version}
-
- NOTE: See the SGSL for additional information.
- scr# (System [6.0.4])
- gestaltScriptCount
- Returns the number of script systems currently active.
-
- gestaltScriptCount = 'scr#'; {number of active scripts}
- ser (System [6.0.8?])
- gestaltSerialAttr
- Returns information about the serial hardware of the machine.
-
- gestaltSerialAttr = 'ser '; {serial hardware attributes}
- gestaltGPIaToDCDa = 0;
- gestaltGPIaToRTxCa = 1;
- gestaltGPIaToDCDb = 2;
- sltc (System [6.0.8?])
- gestaltNuBusConnectors
- Returns information about the NuBus slot connector locations. The
- value returned is a bitmap. If bits 9 to E are set, there are six
- slots present with locations 9 to E.
-
- gestaltNuBusConnectors = 'sltc'; {NuBus connector bitmap}
-
- NOTE: See the SGSL for additional information.
- snd (System [6.0.4])
- gestaltSoundAttr
- Returns information about the sound capabilities of the machine.
-
- gestaltSoundAttr = 'snd '; {sound attributes}
- gestaltStereoCapability = 0; {can play stereo sounds}
- gestaltStereoMixing = 1; {mixes channels into single signal}
- gestaltSoundIOMgrPresent = 2; {new sound input routines available}
- gestaltBuiltInSoundInput = 3; {buil-in sound input device available}
- gestaltHasSoundInputDevice = 4; {some sound input device available}
-
- NOTE: See the SGSL for additional information.
- stdf (System [7.0])
- gestaltStandardFileAttr
- Returns information about the Standard File Package.
-
- gestaltStandardFileAttr = 'stdf'; {Standard File attributes}
- gestaltStandardFile58 = 0; {StandardPutFile, StandardGetFile.}
- {CustomPutFile and CustomGetFile are}
- {available.}
-
- NOTE: See the SGSL for additional information.
- sysv (System [6.0.4]) INF
- gestaltSystemVersion
- Returns the version number of the currently active System file as BCD.
-
- gestaltSystemVersion = 'sysv'; {System file version}
-
- NOTE: See the SGSL for additional information.
- te (System [6.0.5])
- gestaltTextEditVersion
- Returns a value that indicates which version of TextEdit is present.
-
- gestaltTextEditVersion = 'te '; {TextEdit version}
- gestaltTE1 = 1;
- gestaltTE2 = 2;
- gestaltTE3 = 3;
- gestaltTE4 = 4;
- gestaltTE5 = 5;
-
- NOTE: See the SGSL for additional information.
- term (System [7.1])
- gestaltTermMgrAttr
- Returns information about the Terminal Manager.
-
- gestaltTermMgrAttr = 'term'; {Terminal Mgr attributes}
- gestaltTermMgrPresent = 0; {Terminal Mgr is present}
-
- NOTE: See the SGSL for additional information.
- tmgr (System [6.0.4])
- gestaltTimeMgrVersion
- Returns a value that indicates the version of the Time Manager.
-
- gestaltTimeMgrVersion = 'tmgr'; {Time Mgr version}
- gestaltStandardTimeMgr = 1;
- gestaltRevisedTimeMgr = 2;
- gestaltExtendedTimeMgr = 3;
- tbtt (System [6.0.8])
- gestaltToolboxTable
- Returns the base address of the Toolbox trap table.
-
- gestaltToolboxTable = 'tbtt'; {Toolbox trap table base}
- vers (System [6.0.4])
- gestaltVersion
- Returns the version of Gestalt as INTEGER.
-
- gestaltVersion = 'vers'; {Gestalt version}
-
- NOTE: See the SGSL for additional information.
- vm (System [6.0.4])
- gestaltVMAttr
- Returns information about virtual memory.
-
- gestaltVMAttr = 'vm '; {virtual memory attributes}
-
- NOTE: Entry has been replaced, see SGSL.
- xttt (System [6.0.8?])
- gestaltExtToolboxTable
- Returns the base address of the extended Toolbox trap table.
-
- gestaltExtToolboxTable = 'xttt'; {Ext. Toolbox trap table base}
-